Apparatus for providing head amplitude characterization

ABSTRACT

An apparatus for providing head amplitude characterization is disclosed. A DAC is used to apply known signals to a variable gain amplifier in the front end of a read channel. The signal is processed through the read channel and at the output of an ADC, the signal is read and used to determine the input channel amplitude. Knowing the amplitude of the two input signals, the ADC code spread and the two VGA gain codes, an equation is generated for determining the amplitude of a head.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates in general to signals read from a data storage medium, and more particularly to an apparatus for providing head amplitude characterization.

2. Description of Related Art

Recently developed data storage devices, such as magnetic disk drive devices (i.e., hard disk drives), have increased storage capacity and increased data access speed. With these advantages, magnetic disk drive devices have become widely used as auxiliary memory devices for computer systems. More generally, developments in pulse communications related to these improvements in disk drive technology have recently provided increased speed and reliability in a wide range of pulse communications systems.

The primary features of a magnetic disk drive device that affect storage capacity and access speed are the head, the recording medium, the servo mechanism, the signal processing technique used in the read/write channel, and the like. Among these, signal processing techniques utilizing PRML (Partial Response Maximum Likelihood) detection have greatly contributed to the increased storage capacities and high access speeds seen in modern magnetic disk drive devices.

A read channel circuit in a generic read/write channel circuit of a magnetic disk drive device includes components for initial processing of the analog read signal generated by the read/write head of the device. This processing provides automatic gain control (AGC) amplification, filtering, and equalization, as well as analog-to-digital conversion.

Each read/write head generates or senses electromagnetic fields or magnetic encodings on the magnetic disk as areas of magnetic flux. The presence or absence of flux reversals in the electromagnetic fields represents the data stored on the magnetic disk. A flux reversal is a change in the magnetic flux on contiguous areas of the magnetic disk. The presence or absence of magnetic flux reversals correspond to binary 1's and 0's of a diagnostic input signal. To “write” data onto a magnetic disk, electronic components receive data from a host device and translate the data into magnetic encodings. The head transfers the magnetic encodings onto a portion of the magnetic disk. To “read” data from the magnetic disk, the head is positioned adjacent to the portion of the magnetic disk having the desired magnetic encodings. The head senses and transfers the magnetic encodings from the magnetic disk. The electronic components translate the magnetic encodings into the data, which is transferred to the host device. The host device may be a personal computer or other electronic equipment. The electronic components may apply error detection and correction algorithms to ensure accurate storage and retrieval of data from the magnetic disk. To improve data storage densities on disk drives, magneto resistive and inductive read/write heads have been developed with increased sensitivity to sense smaller amplitude magnetic signals and with increased signal discrimination.

Typically, a hard drive reads data by “peak detection”—detecting a voltage peak created when a flux reversal on a magnetic disk passes underneath the read/write head. However, a partial response maximum likelihood (PRML) algorithm has been developed to improve peak detection as densities and rotational speeds increase. PRML is implemented in the disk drive electronics to interpret the magnetic signals sensed by the read/write heads. PRML disk drives read the analog waveforms generated by the magnetic flux reversals stored on the disk. Rather than look for peak values to indicate flux reversals, PRML digitally samples the analog waveform (the “partial response” portion of the algorithm) and applies signal processing methodologies to determine the bit pattern represented by the waveform (the “maximum likelihood” portion of the algorithm). Accordingly, in a PRML data channel, a normalized readback signal amplitude is required for proper data detection. A variable gain amplifier (VGA) typically is used in the analog signal path for scaling of the readback signal. Known PRML channels require an analog envelope detector circuit to sense the amplitude of the incoming readback signal in order to provide gain corrections to the VGA.

Because of material and manufacturing variations, each head will have a different characteristic signal output level. This level must be normalized by adjusting the head amplifier gain so that the amplitude detection circuits will have the same signal margin. In order to properly perform this normalization adjustment, a specially recorded tape, with a precisely known recorded amplitude, must be used.

In some systems, these problems have been solved by providing a gain adjustment on the amplifier, which must be readjusted periodically, and by providing different signal amplitude detection threshold levels for each combination of read/write, speed and density. These threshold levels were fixed, however, and could not change to adjust for media coating type, wear, or signal degradation over time. Also, these fixed threshold values required that the output of each magnetic head be normalized very precisely by adjusting its amplifier gain before amplitude detection can be reliable.

Amplitude sensing is an important part of the read circuitry of tape systems for digital data recording, which record multiple tracks in parallel across the tape. In this type of system, error detection and correction methods are used extensively, such as parity checking across the parallel tracks or parity checking of the data bits in a single track. Loss of amplitude is an important indicator that a track is in error, and the correction methods can then be used to correct the track to avoid having to reposition and read the data again.

PRML electronics are used to calibrate and tune the PRML read/write channel. For example, calibration of the VGA gain is necessary to ensure accurate data detection and to provide insight as to the integrity and operating condition of a read transducer. To calibrate the VGA gain, a readback signal is provided to the VGA in the read channel. A voltage signal associated with a loop gain of the amplification circuitry may then be sensed and compared with a number of control voltage signals that correspond to digital word values. The digital word values are associated with a control voltage signal equal to the sensed voltage signal representing the relative amplitude of the readback signal. Gain characteristics of the VGA may then be determined by applying reference voltage signals associated with corresponding pre-established gain values to the signal input of the gain modifying amplifier. A control voltage signal may be selectively applied to the amplifier for each of the reference voltage signals until the amplifier output voltage signal is substantially equal to a pre-established reference voltage signal.

To simplify calibration procedures, many hard drives include an additional digital to analog converter (DAC) and an additional analog to digital converter (ADC) for diagnostic testing of the read/write channel. These DAC and ADC are in addition to the other digital to analog converters and analog to digital converters used to perform the reading and writing operations in the read/write channel. However, these ADC designs increase the hardware requirements and thus the size and costs of the read/write channel. Further, measuring the amplitude of a head in a storage device, such as a disk drive, is difficult because factors such as temperature change, head wear, etc. adversely affect the accuracy of readback signal amplitude estimates.

It can be seen that there is a need for an apparatus for providing head amplitude characterization.

SUMMARY OF THE INVENTION

To overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses an apparatus for providing head amplitude characterization.

The present invention solves the above-described problems by using a DAC to apply known signals to a variable gain amplifier in the front end of a read channel. The signal is processed through the read channel and at the output of an ADC, the signal is read and used to determine the input channel amplitude.

A data channel in accordance with the principles of the present invention includes a digital-to-analog converter (DAC) circuit including a variable gain amplifier (VGA), the DAC circuit providing digital outputs at an analog-to-digital converter (ADC) in response to read signal analog inputs and DAC digital inputs and a controller, coupled to the DAC circuit, for determining read head channel amplitude based upon programming of the DAC, code received from the ADC and gain code obtained from the VGA.

In another embodiment of the present invention, an analog front end for a read channel is provided. The analog front end includes an analog processing circuit for receiving read signals, a digital-to-analog converter (DAC), coupled to the analog processor for providing high and low control signals to the analog processing circuit for producing predetermined analog processing circuit output signals, a variable gain amplifier (VGA), coupled to the analog processing circuit, for processing the predetermined analog processing circuit output signals using VGA gain codes for producing amplified signals, an analog-to-digital converter (ADC), coupled to the VGA, for producing a ADC code spread in response to the amplified signals, registers for storing an amplitude of two input signals, the ADC code spread associated with the two input signals and two VGA gain codes associated with the two input signals and corresponding high and low DAC control signals and a processor, coupled to the registers, for calculating an amplitude of any input signal using an equation derived from the amplitude of the two input signals, the ADC code spread associated with the two input signals and the two VGA gain codes associated with the two input signals and corresponding high and low DAC control signals.

In another embodiment of the present invention, a magnetic storage device is provided. The magnetic storage device includes a magnetic storage medium for recording data thereon, a motor for moving the magnetic storage medium, a head for reading and writing data on the magnetic storage medium, an actuator for positioning the head relative to the magnetic storage medium and a data channel for processing encoded signals on the magnetic storage medium, the data channel including a digital-to-analog converter (DAC) circuit including a variable gain amplifier (VGA), the DAC circuit providing digital outputs at an analog-to-digital converter (ADC) in response to read signal analog inputs and DAC digital inputs and a controller, coupled to the DAC circuit, for determining read head channel amplitude based upon programming of the DAC, code received from the ADC and gain code obtained from the VGA.

In another embodiment of the present invention, a data channel is provided. The data channel includes means for receiving input signals, means, coupled to the means for receiving input signals, for providing controls signals to the means for receiving input signals, means, coupled to the means for receiving input signals, for amplifying signals from the means for receiving input signals, means, coupled to the means for providing control signals, for providing digital outputs at converter means in response to signals from the means for amplifying and to the control signals and means, coupled to the means for providing digital outputs, for determining a read head channel amplitude based upon programming of the means for providing controls signals, code received from the converter means, and gain code obtained from the means for amplifying the input signals.

In another embodiment of the present invention, a magnetic storage device is provided. The magnetic storage device includes means for recording data thereon, means for moving the means for recording data, means for reading and writing data on the means for recording data, means for positioning the means for reading and writing relative to the means for recording data and means for processing encoded signals from the means for recording, the means for processing encoded signals including means for receiving input signals, means, coupled to the means for receiving input signals, for providing controls signals to the means for receiving input signals, means, coupled to the means for receiving input signals, for amplifying signals from the means for receiving input signals, means, coupled to the means for providing control signals, for providing digital outputs at converter means in response to signals from the means for amplifying and to the control signals and means, coupled to the means for providing digital outputs, for determining a read head channel amplitude based upon programming of the means for providing controls signals, code received from the converter means, and gain code obtained from the means for amplifying the input signals.

These and various other advantages and features of novelty which characterize the invention are pointed out with particularity in the claims annexed hereto and form a part hereof. However, for a better understanding of the invention, its advantages, and the objects obtained by its use, reference should be made to the drawings which form a further part hereof, and to accompanying descriptive matter, in which there are illustrated and described specific examples of an apparatus in accordance with the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

Referring now to the drawings in which like reference numbers represent corresponding parts throughout:

FIG. 1 illustrates a storage system according to an embodiment of the present invention;

FIG. 2 is a block diagram of a magnetic disk drive device according to an embodiment of the present invention;

FIG. 3 is a block diagram of a read/write channel circuit of FIG. 2;

FIG. 4 is block diagram representing the analog sub blocks and control logic of a read channel according to an embodiment of the present invention;

FIG. 5 illustrates the characterization engine for detecting a threshold voltage code from the ADC according to an embodiment of the present invention; and

FIG. 6 is a detailed flow chart of the operations for performing the head amplitude characterization according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

In the following description of the embodiments, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration the specific embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized because structural changes may be made without departing from the scope of the present invention.

The present invention provides an apparatus for providing head amplitude characterization. The present invention uses a DAC to apply known signals to a variable gain amplifier in the front end of a read channel. The signal is processed through the read channel and at the output of an ADC, the signal is read and used to determine the input channel amplitude.

FIG. 1 illustrates a storage system 100 according to an embodiment of the present invention. In FIG. 1, a transducer 110 is under control of an actuator 120. The actuator 120 controls the position of the transducer 110. The transducer 110 writes and reads data on magnetic media 130. The read/write signals are passed to a data channel 140. A signal processor system 150 controls the actuator 120 and processes the signals of the data channel 140. In addition, a media translator 160 is controlled by the signal processor system 150 to cause the magnetic media 130 to move relative to the transducer 110. Nevertheless, the present invention is not meant to be limited to a particular type of storage system 100 or to the type of media 130 used in the storage system 100.

FIG. 2 is a block diagram of a magnetic disk drive device 200 according to an embodiment of the present invention. In FIG. 2, disks 210 are rotated by a spindle motor 234, and heads 212 are positioned at surfaces of corresponding ones of disks 210. Heads 212 are mounted on corresponding servo arms that extend from an E-shaped block assembly 214 to disks 210. Block assembly 214 has an associated rotary voice coil actuator 230 that moves block assembly 214 and thereby changes to positions of heads 212 for reading data from or writing data to a specified position on one or more of disks 210.

A pre-amplifier 216 pre-amplifies a signal picked up by heads 212 and thereby provides read/write channel circuit 218 with an amplified signal during a reading operation. During a write operation, pre-amplifier 216 transfers an encoded write data signal from the read/write channel circuit 218 to heads 212. In a read operation, read/write channel circuit 218 detects a data pulse from a read signal provided by pre-amplifier 216 and decodes the data pulse. Read/write channel circuit 218 transfers the decoded data pulse to a disk data controller (DDC) 220. Furthermore, read/write channel circuit 218 also decodes write data received from the DDC 220 and provides the decoded data to pre-amplifier 216.

DDC 220 both writes data received from a host computer (not shown) onto disks 210, through read/write channel circuit 218 and pre-amplifier 216, and transfers read data from disks 210 to the host computer. DDC 220 also interfaces between the host computer and a microcontroller 224. A buffer RAM (Random Access Memory) 222 temporarily stores data transferred between DDC 220 and the host computer, microcontroller 224, and read/write channel circuit 218. Microcontroller 224 controls track seeking and track following functions in response to read and write commands from the host computer.

A ROM (Read Only Memory) 226 stores a control program for microcontroller 224 as well as various setting values. A servo driver 228 generates a driving current for driving actuator 230 in response to a control signal, generated from microcontroller 224 that provides control of the position of heads 212. The driving current is applied to a voice coil of actuator 230. Actuator 230 positions heads 212 relative to disks 210 in accordance with the direction and amount of the driving current supplied from servo driver 228. A spindle motor driver 232 drives spindle motor 234, which rotates disks 210, in accordance with a control value generated from microcontroller 224 for controlling disks 210.

FIG. 3 is a block diagram of a read/write channel circuit 300 of FIG. 2. In FIG. 3, the read/write channel circuit 300 includes a physical recording channel 338 having a read/write means and a recording medium, a write channel circuit 340 for writing data onto the recording medium, and a read channel circuit 342 for reading data from the recording medium. Write channel circuit 340 is composed of an encoder 344, a pre-decoder 346, and a write compensator 348. Read channel circuit 342 includes an analog front end 350, an analog-to-digital converter (ADC) 354, an equalizer 356, a Viterbi detector 358 and a decoder 364.

In operation, encoder 344 encodes write data 320, input to be written onto the recording medium, into a predetermined code. For example, an RLL (Run Length Limited) code, in which the number of adjacent zeros must remain between specified maximum and minimum values, is commonly used for this predetermined code. However, the present invention is not meant to be limited to RLL and other coding may be used. Pre-decoder 346 is included to prevent error propagation. Write compensator 348 reduces non-linear influences arising from the read/write head. However, because the response of the actual recording channel does not exactly coincide with this transfer function, some subsequent equalization is always required.

Analog front end 350 amplifies an analog signal 322 read from the disk. The signal output from the analog front end 350 is converted into a discrete digital signal by analog-to-digital (A/D) converter 354. The resulting digital signal is then applied to equalizer 356, which adaptively controls inter-symbol interference (ISI) to generate desired waveforms. Viterbi detector 358 receives the equalized signal output from equalizer 356 and from it generates encoded data. Decoder 364 decodes the encoded data output from Viterbi detector 358 to generate the final read data 324.

FIG. 4 is block diagram representing the analog sub blocks and control logic of a read channel 400 according to an embodiment of the present invention. An analog switch or multiplexor 410 is provided for switching between inputs. One of the inputs is the read signal. A DAC 412 is provided at the input of the multiplexor 410. According to an embodiment of the present invention, a DAC is used to calibrate read channel analog circuit by using the DAC 412 to create an analog signal of a known amplitude and known frequency. Thus, the DAC 412 may be used to send a known signal through the read channel 400.

A variable gain amplifier (VGA) 420 receives an input signal of know amplitude and frequency that is provided by the multiplexor 410 based on the input from the DAC 412. The VGA input signal is driven into the VGA 420 and then gain locked through the entire read path to a set ADC code spread. The VGA gain code for this signal amplitude is determined. The amplified signal from the VGA 420 is passed to a continuous time filter (CTF) 440. The CTF 440 is configured to filter out noise.

The output of the CTF 440 is provided to drive the ADC 480. The DAC 412 is clocked by a programmable oscillator 414 and is used to generate an input signal in the VGA 420. The ADC 480 is also clocked, for example, by another programmable oscillator 482. Accordingly, the read channel 400 uses logic to setup the inputs into the read channel thereby allowing the resulting ADC code to be measured. The two characterization results for data and for servo, which correspond to the VGA gain for the two characterization amplitudes, together with either the data or servo VGA gain, allow a series of calculations to be performed, for example by a signal processing system 150 of FIG. 1, a controller 224 of FIG. 2 and/or control logic 430, to determine the channel input amplitude. From the read ADC output codes 490, the amplitude of the input signal to the VGA 420 may be extrapolated.

FIG. 5 illustrates the characterization engine 500 for detecting a threshold voltage code from the ADC according to an embodiment of the present invention. During head amplitude characterization, two different input amplitudes, as determined by the Head Amplitude DAC Low and High Codes, are generated by the DAC and input to the VGA. The VGA will apply gain on these signals until the ADC output reaches a level determined by the ADC Difference Trip Code. In FIG. 5, circuit 510 is shown for generating the code detect signals 540. In the first circuit 510, ADC Data 512, 514 is compared to a Threshold 516. A code detect signal 540 is generated in response to the comparison.

FIG. 6 is a detailed flow chart 600 of the operations for performing the head amplitude characterization according to an embodiment of the present invention. First a VGA input signal is generated from a DAC of “known amplitude” 610. This signal is driven into the VGA input and then gain locked through the entire read path to a set ADC code spread 620. This can be done either by a characterization sequencer using binary up or successive approximation to control the VGA. The VGA gain code for this signal amplitude is determined 622. Next a larger VGA input signal is generated from a DAC 630. The signal is once again gain locked through the entire read path to the same ADC code spread 640. The VGA gain code for this signal amplitude is also determined 642.

Knowing the amplitude of the two input signals, the ADC code spread and the two VGA gain codes, an equation is generated for determining the amplitude of a head 650. The ADC code spread is converted to amplitude of ADC output in mV 652. The head amplitude DAC low and high codes are then converted to their corresponding amplitudes in mV 654. The gain, in dB, of the two characterization amplitudes is calculated 656. Using the gains of the two characterization amplitudes, the slope is calculated 658 and then the intercept is determined 660. An equation for the amplitude of the input signal in mV is determined 662.

As described above, the head amplitude characterization may be performed for example by a signal processing system 150 of FIG. 1 and/or a controller 224 of FIG. 2. The process for performing head amplitude characterization according to an embodiment of the present invention will now be described.

The ADC code spread is converted to amplitude of ADC output in mV as follows: Using char sequencer: Y _(ADC)=(ADCTripCode−ADC _(—) MID)*ADC_LSB*2, where the ADC trip code is the is the decimal equivalent of the register selectable head amplitude ADC difference trip code and ADC_MID is: (ADC_MAXCODE−ADC_MAXCODE)/2. The head amplitude DAC low and high codes are then converted to their corresponding amplitudes in mV as follows: InputAmp 1=(2*DACLowCode+1)*DAC _(—) LSB InputAmp 2=(2*DACHighCode+1)*DAC _(—) LSB where the DAC low code is the decimal equivalent of the register selectable head amplitude DAC low code and the DAC high code is the decimal equivalent of the register selectable head amplitude DAC high code.

The gain, in dB, of the two characterization amplitudes is calculated according to: Gain 1=20*log(Y _(ADC)/InputAmp 1); and Gain 2=20*log(Y _(ADC)/InputAmp 2).

Using the gains of the two characterization amplitudes, the slope is calculated as follows: ${slope} = \frac{{Result1} - {Result2}}{{Gain1} - {Gain2}}$

-   -   where Result 1 is the decimal equivalent of head amplitude         characterization Result 1, Result 2 is the decimal equivalent of         head amplitude characterization Result 2, and Gain 1 and Gain 2         are as calculated in the previous operation. Then the intercept,         b, is Result 1−slope*Gain 1.

The amplitude of the input signal in mV is determined according to AmplX=(Y _(ADC)/10^(((VGA Code X−b-slope)/(20*slope)))), where the VGA code is the result of the gain and timing loops in normal servo or data mode.

As stated above, head amplitude characterization can be performed with analog front end configured for either read data or servo data, thereby allowing both data and servo VGA gain results to be used in calculations to find the channel's input amplitude.

During head amplitude characterization, two different input amplitudes, as determined by the head amplitude DAC low and high codes, were generated by the DAC and input to the VGA, which applies gain on these signals until the ADC output reaches a level determined by the ADC Difference Trip Code.

The two characterization results, which correspond to the VGA gain for the two characterization amplitudes, together with either the data or servo VGA gain, allow a series of calculations to be performed for determining the channel input amplitude. The amplitude measurements made by issuing a read operation using taps resulting from an equalization will result in a nearly uniform data VGA gain result for any data pattern. This is because the 16-state equalization boosts signals of higher frequency and attenuates lower frequencies in the CTF and DFIR. This result works well for monitoring of head amplitude for a head re-initialization since there is little pattern dependence.

Alternate operations for measuring the head amplitude using the envelope detector in idle mode may be performed by writing the test track to the magnet length required with asynchronous magnets enabled. The idle envelope detector is enabled and synthesizer set to 10% to 20% higher data rate to over sample the readback signal. This procedure may provide repeatability of about +/−2 lsb for VGA gain of sync field.

The process illustrated with reference to FIGS. 1-6 may be tangibly embodied in a computer-readable medium or carrier, e.g. one or more of the fixed and/or removable data storage devices 188 illustrated in FIG. 1, or other data storage or data communications devices. The computer program 190 may be loaded into memory 170 to configure the processor 172 for execution of the computer program 190. The computer program 190 include instructions which, when read and executed by a processor 172 of FIG. 1, causes the devices to perform the steps necessary to execute the steps or elements of an embodiment of the present invention.

The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather by the claims appended hereto. 

1. A data channel, comprising: a digital-to-analog converter (DAC) circuit including a variable gain amplifier (VGA), the DAC circuit providing digital outputs at an analog-to-digital converter (ADC) in response to read signal analog inputs and DAC digital inputs; and a controller, coupled to the DAC circuit, for determining read head channel amplitude based upon programming of the DAC, code received from the ADC and gain code obtained from the VGA.
 2. The data channel of claim 1, wherein the code from the ADC is a code detect signal.
 3. The data channel of claim 1, wherein the code from the ADC is a trip code.
 4. The data channel of claim 1, wherein the code from the ADC is at least one digital output of the ADC.
 5. The data channel of claim 1, wherein the DAC circuit further comprises an analog processing device for providing a predetermined output signal to the VGA in response to a DAC input.
 6. The data channel of claim 5, wherein the analog processing device comprises an analog switch for providing a selection between input signals.
 7. The data channel of claim 6, wherein the selection between input signals provides an output signal having predetermined high and low amplitudes.
 8. The data channel of claim 5, wherein the controller causes the DAC to provide low and high codes to the analog processing circuit, wherein the VGA applies gain on both of the signals from the analog processing circuit resulting from the high and low codes from the DAC, the VGA applying gain until the output of the ADC reaches a level determined by a predetermined trip code.
 9. The data channel of claim 1, wherein head amplitude characterization is performed once with data filtering and again with the servo filtering to generate both data VGA gain values and servo VGA gain values, the data VGA gain values and servo VGA gain values being used to determine the input amplitude of the data channel.
 10. An analog front end for a read channel, comprising: an analog processing circuit for receiving read signals; a digital-to-analog converter (DAC), coupled to the analog processing circuit for providing high and low control signals to the analog processing circuit for producing predetermined analog processing circuit output signals; a variable gain amplifier (VGA), coupled to the analog processing circuit, for processing the predetermined analog processing circuit output signals using VGA gain codes for producing amplified signals; an analog-to-digital converter (ADC), coupled to the VGA, for producing an ADC code spread in response to the amplified signals; memory for storing an amplitude of two input signals, the ADC code spread associated with the two input signals and two VGA gain codes associated with the two input signals and corresponding high and low DAC control signals; and a processor, coupled to the memory, for calculating an amplitude of any input signal using an equation derived from the amplitude of the two input signals, the ADC code spread associated with the two input signals and the two VGA gain codes associated with the two input signals and corresponding high and low DAC control signals.
 11. The analog front end of claim 10, wherein the analog processing device comprises an analog switch for providing a selection between input signals.
 12. The analog front end of claim 11, wherein the DAC and analog processing device provides two output signals having predetermined high and low amplitudes.
 13. The analog front end of claim 10, wherein the processor derives the equation using both data filtering and servo filtering for providing both data VGA gain values and servo VGA gain values.
 14. A magnetic storage device, comprising: a magnetic storage medium for recording data thereon; a motor for moving the magnetic storage medium; a head for reading and writing data on the magnetic storage medium; an actuator for positioning the head relative to the magnetic storage medium; and a data channel for processing encoded signals form the magnetic storage medium, the data channel comprising a digital-to-analog converter (DAC) circuit including a variable gain amplifier (VGA), the DAC circuit providing digital outputs at an analog-to-digital converter (ADC) in response to read signal analog inputs and DAC digital inputs; and a controller, coupled to the DAC circuit, for determining read head channel amplitude based upon programming of the DAC, code received from the ADC and gain code obtained from the VGA.
 15. The magnetic storage device of claim 14, wherein the code from the ADC is a code detect signal.
 16. The magnetic storage device of claim 14, wherein the code from the ADC is a trip code.
 17. The magnetic storage device of claim 14, wherein the code from the ADC is at least one digital output of the ADC.
 18. The magnetic storage device of claim 14, wherein the DAC circuit further comprises an analog processing device for providing a predetermined output signal to the VGA in response to a DAC input.
 19. The magnetic storage device of claim 18, wherein the analog processing device comprises an analog switch for providing a selection between input signals.
 20. The magnetic storage device of claim 19, wherein the selection between input signals provides allows an output signal having predetermined high and low amplitudes.
 21. The magnetic storage device of claim 18, wherein the controller causes the DAC to provide low and high codes to the analog processing circuit, wherein the VGA applies gain on both of the signals from the analog processing circuit resulting from the high and low codes from the DAC, the VGA applying gain until the output of the ADC reaches a level determined by a predetermined trip code.
 22. The magnetic storage device of claim 14, wherein head amplitude characterization is performed once with data filtering and again with the servo filtering to generate both data VGA gain values and servo VGA gain values, the data VGA gain values and servo VGA gain values being used to determine the input amplitude of the data channel.
 23. A data channel, comprising: means for providing input signals; means, coupled to the means for providing input signals, for providing controls signals to the means for providing input signals; means, coupled to the means for providing input signals, for amplifying signals from the means for providing input signals; means, coupled to the means for providing control signals, for providing digital outputs in response to signals from the means for amplifying and to the control signals; and means, coupled to the means for providing digital outputs, for determining a read head channel amplitude based upon programming of the means for providing controls signals, code provided to the means for providing input signals, and gain code obtained from the means for amplifying the input signals.
 24. A magnetic storage device, comprising: means for recording data thereon; means for moving the means for recording data; means for reading and writing data on the means for recording data; means for positioning the means for reading and writing relative to the means for recording data; and means for processing encoded signals from the means for recording, the means for processing encoded signals comprising means for providing input signals; means, coupled to the means for providing input signals, for providing controls signals to the means for providing input signals; means, coupled to the means for providing input signals, for amplifying signals from the means for providing input signals; means, coupled to the means for providing control signals, for providing digital outputs in response to signals from the means for amplifying and to the control signals; and means, coupled to the means for providing digital outputs, for determining a read head channel amplitude based upon programming of the means for providing controls signals, code provided to the means for providing input signals, and gain code obtained from the means for amplifying the input signals. 